﻿Imports HMSLibrary
Imports System.Collections.ObjectModel

Public MustInherit Class MasterDataProvider

    Public MustOverride Function ValidateUser(ByVal UserName As String, ByVal Password As String) As LoginInfo

    Public MustOverride Function GetVendorList() As List(Of Vendor)

    Public MustOverride Function GetVendorByID(ByVal ID As Integer) As Vendor

    Public MustOverride Function SaveVendor(ByVal VendorObject As Vendor, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetItemList() As List(Of ItemsService)

    Public MustOverride Function GetItemServiceList() As List(Of ItemsService)

    Public MustOverride Function GetMedicineItemList() As List(Of MedicineItemsDtl)

    Public MustOverride Function GetItemByID(ByVal ID As Integer) As ItemsService

    Public MustOverride Overloads Function SaveItem(ByVal ItemObject As ItemsService, ByVal Mode As FormAction) As Integer

    Public MustOverride Function SaveMedicine(ByVal MedicineObject As HMSLibrary.MedicineItemsDtl, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetLookupList(ByVal LookupType As Integer) As List(Of Lookups)

    Public MustOverride Function GetLookupTypeList() As List(Of Lookups)

    Public MustOverride Function GetLookupList() As List(Of Lookups)

    Public MustOverride Function SaveLookup(ByVal LookupObject As Lookups, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetLookupByID(ByVal ID As Integer) As Lookups

    Public MustOverride Function GetCompanyInfo() As CompanyInfo

    Public MustOverride Function SaveCompanyInfo(ByVal CompanyInfoObject As CompanyInfo) As Boolean

    Public MustOverride Function GetFinYearList() As List(Of FinancialYear)

    Public MustOverride Function GetBanksList() As List(Of Banks)

    Public MustOverride Function SaveBanks(ByVal BankObject As Banks, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetDepartmentsList() As List(Of Departments)

    Public MustOverride Function SaveDepartments(ByVal DepartmentObject As Departments, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetComplaintsList() As List(Of Complaints)

    Public MustOverride Function SaveComplaints(ByVal ComplaintObject As Complaints, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetDoctorsList() As List(Of Doctors)

    Public MustOverride Function GetDoctorsLookList() As List(Of Lookups)

    Public MustOverride Function SaveDoctors(ByVal DoctorObject As Doctors, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetEmployeesList() As List(Of Employees)

    Public MustOverride Function GetEmployeesLookList() As List(Of Lookups)

    Public MustOverride Function SaveEmployees(ByVal EmployeeObject As Employees, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetRoomsLookupList() As List(Of Lookups)

    Public MustOverride Function GetRoomsList() As List(Of Rooms)

    Public MustOverride Function SaveRooms(ByVal RoomObject As Rooms, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetUsersList() As List(Of Users)

    Public MustOverride Function SaveUsers(ByVal UserObject As Users, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetWardsList() As List(Of Wards)

    Public MustOverride Function SaveWards(ByVal WardObject As Wards, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetModuleList(ByVal ProfileID As Integer) As List(Of ModulePermissions)

    Public MustOverride Function SaveUserProfile(ByVal sender As UserProfile, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetUserProfile() As List(Of Lookups)

    Public MustOverride Function SaveBillTemplate(ByVal sender As BillTemplate, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetBillTemplate() As List(Of Lookups)

    Public MustOverride Function GetTemplateItemsList(ByVal TemplateID As Integer) As List(Of ItemsService)

    Public MustOverride Function GetAlertsList() As List(Of Alerts)

    Public MustOverride Function SaveAlert(ByVal sender As Alerts, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetFindingsList() As List(Of Finding)

    Public MustOverride Function GetFindingsCategoryList(ByVal category As Integer) As List(Of Finding)

    Public MustOverride Function SaveFinding(ByVal sender As Finding, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetInvestigationList() As List(Of Investigation)

    Public MustOverride Function SaveInvestigation(ByVal sender As Investigation, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetProblemsList() As List(Of Problems)

    Public MustOverride Function GetProblemsCategoryWiseList(ByVal categoryID As Integer) As List(Of Problems)

    Public MustOverride Function SaveProblem(ByVal sender As Problems, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetTreatmentProceduresList() As List(Of TreatmentProcedure)

    Public MustOverride Function SaveTreatmentProcedures(ByVal sender As TreatmentProcedure, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetDiagnosisList() As ObservableCollection(Of Diagnosis)

    Public MustOverride Function SaveDiagnosis(ByVal sender As Diagnosis, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetComplaintLookList() As List(Of Lookups)

    Public MustOverride Function GetShelfNos() As List(Of Lookups)

    Public MustOverride Function GetRackNos() As List(Of Lookups)

    Public MustOverride Function GetBoxNos() As List(Of Lookups)

    Public MustOverride Function SavePrescriptionTemplate(ByVal sender As PrescriptionTemplate, ByVal Mode As FormAction) As Boolean

    Public MustOverride Function GetPrescriptionTemplate() As List(Of Lookups)

    Public MustOverride Function GetMedicineLookupItems() As List(Of MedicineItemsDtl)

    Public MustOverride Function GetPrescriptionTemplateItemsList(ByVal TemplateID As Integer) As List(Of PatientPrescription)
End Class
